<template name="skeleton">
    <view class="sk-container">
        <scroll-view :scroll-y="true" class="viewport viewport" :enable-back-to-top="true">
            <view class="goods goods">
                <view class="preview preview">
                    <swiper :circular="true" :current="0" :autoplay="false">
                        <swiper-item
                            style="position: absolute; width: 100%; height: 100%; transform: translate(0%, 0px) translateZ(0px);">
                            <image mode="aspectFill" class="sk-image"></image>
                        </swiper-item>
                    </swiper>
                    <view class="indicator indicator">
                        <text class="current sk-transparent sk-opacity">1</text>
                        <text class="split sk-transparent sk-opacity">/</text>
                        <text class="total sk-transparent sk-opacity">5</text>
                    </view>
                </view>
                <view class="meta meta">
                    <view class="price price">
                        <text class="symbol sk-transparent sk-opacity">¥</text>
                        <text class="number sk-transparent sk-text-14-2857-359 sk-text">168.00</text>
                    </view>
                    <view class="name ellipsis sk-transparent sk-text-14-2857-648 sk-text">梅乃宿梅酒720毫升</view>
                    <view class="desc sk-transparent sk-text-0-0000-971 sk-text">小藏手工酿造，百年名酒app</view>
                </view>
                <view class="action action">
                    <view class="item arrow sk-pseudo sk-pseudo-circle">
                        <text class="label sk-transparent sk-text-14-2857-868 sk-text">选择</text>
                        <text class="text ellipsis sk-transparent sk-text-14-2857-703 sk-text"> 请选择商品规格 </text>
                    </view>
                    <view class="item arrow sk-pseudo sk-pseudo-circle">
                        <text class="label sk-transparent sk-text-14-2857-168 sk-text">送至</text>
                        <text class="text ellipsis sk-transparent sk-text-14-2857-68 sk-text"> 请选择收获地址 </text>
                    </view>
                    <view class="item arrow sk-pseudo sk-pseudo-circle">
                        <text class="label sk-transparent sk-text-14-2857-119 sk-text">服务</text>
                        <text class="text ellipsis sk-transparent sk-text-14-2857-72 sk-text"> 无忧退 快速退款 免费包邮 </text>
                    </view>
                </view>
            </view>
            <view class="detail detail panel panel">
                <view class="title title">
                    <text class="sk-transparent sk-text-0-0000-836 sk-text">详情</text>
                </view>
                <view class="content content">
                    <view class="properties properties">
                        <view class="item item">
                            <text class="label sk-transparent sk-text-25-0000-387 sk-text">品名</text>
                            <text class="value sk-transparent sk-text-25-0000-73 sk-text">梅乃宿梅酒</text>
                        </view>
                    </view>
                </view>
            </view>
        </scroll-view>
        <view class="toolbar toolbar toolbar-item">
            <view class="icons icons">
                <button class="icons-button sk-transparent sk-button sk-pseudo sk-pseudo-circle">
                    <text class="icon-heart sk-pseudo sk-pseudo-circle"></text>收藏</button>
                <button class="icons-button sk-transparent sk-button sk-pseudo sk-pseudo-circle" open-type="contact">
                    <text class="icon-handset sk-pseudo sk-pseudo-circle"></text>客服 </button>
                <navigator class="icons-button sk-transparent" open-type="switchTab">
                    <text class="icon-cart sk-pseudo sk-pseudo-circle"></text>购物车
                </navigator>
            </view>
            <view class="buttons buttons">
                <view class="addcart sk-transparent sk-text-31-9444-748 sk-text" style="background-position-x: 50%;"> 加入购物车
                </view>
                <view class="buynow sk-transparent sk-text-31-9444-541 sk-text" style="background-position-x: 50%;"> 立即购买
                </view>
            </view>
        </view>
    </view>
</template>

<style lang="scss">
/* H5端默认开启scoped样式隔离, 导致组件基础样式无效 */
/* #ifdef H5 || APP-PLUS */
@import './styles/goods.scss';
@import './styles/AddressPanel.scss';
@import './styles/ServicePanel.scss';

.toolbar-item {
    padding-bottom: 5px;
}

/* #endif */

/* #ifdef MP-WEIXIN */
.toolbar-item {
    padding-bottom: 34px;
}

/* #endif */


.sk-transparent {
    color: transparent !important;
}

.sk-opacity {
    opacity: 0 !important;
}

.sk-text-14-2857-359 {
    background-image: linear-gradient(transparent 14.2857%, #EEEEEE 0%, #EEEEEE 85.7143%, transparent 0%) !important;
    background-size: 100% 78.4000rpx;
    position: relative !important;
}

.sk-text {
    background-origin: content-box !important;
    background-clip: content-box !important;
    background-color: transparent !important;
    color: transparent !important;
    background-repeat: repeat-y !important;
}

.sk-text-14-2857-648 {
    background-image: linear-gradient(transparent 14.2857%, #EEEEEE 0%, #EEEEEE 85.7143%, transparent 0%) !important;
    background-size: 100% 44.8000rpx;
    position: relative !important;
}

.sk-text-0-0000-971 {
    background-image: linear-gradient(transparent 0.0000%, #EEEEEE 0%, #EEEEEE 100.0000%, transparent 0%) !important;
    background-size: 100% 24.0000rpx;
    position: relative !important;
}

.sk-text-14-2857-868 {
    background-image: linear-gradient(transparent 14.2857%, #EEEEEE 0%, #EEEEEE 85.7143%, transparent 0%) !important;
    background-size: 100% 36.4000rpx;
    position: relative !important;
}

.sk-text-14-2857-703 {
    background-image: linear-gradient(transparent 14.2857%, #EEEEEE 0%, #EEEEEE 85.7143%, transparent 0%) !important;
    background-size: 100% 36.4000rpx;
    position: relative !important;
}

.sk-text-14-2857-168 {
    background-image: linear-gradient(transparent 14.2857%, #EEEEEE 0%, #EEEEEE 85.7143%, transparent 0%) !important;
    background-size: 100% 36.4000rpx;
    position: relative !important;
}

.sk-text-14-2857-68 {
    background-image: linear-gradient(transparent 14.2857%, #EEEEEE 0%, #EEEEEE 85.7143%, transparent 0%) !important;
    background-size: 100% 36.4000rpx;
    position: relative !important;
}

.sk-text-14-2857-119 {
    background-image: linear-gradient(transparent 14.2857%, #EEEEEE 0%, #EEEEEE 85.7143%, transparent 0%) !important;
    background-size: 100% 36.4000rpx;
    position: relative !important;
}

.sk-text-14-2857-72 {
    background-image: linear-gradient(transparent 14.2857%, #EEEEEE 0%, #EEEEEE 85.7143%, transparent 0%) !important;
    background-size: 100% 36.4000rpx;
    position: relative !important;
}

.sk-text-0-0000-836 {
    background-image: linear-gradient(transparent 0.0000%, #EEEEEE 0%, #EEEEEE 100.0000%, transparent 0%) !important;
    background-size: 100% 28.0000rpx;
    position: relative !important;
}

.sk-text-25-0000-387 {
    background-image: linear-gradient(transparent 25.0000%, #EEEEEE 0%, #EEEEEE 75.0000%, transparent 0%) !important;
    background-size: 100% 52.0000rpx;
    position: relative !important;
}

.sk-text-25-0000-73 {
    background-image: linear-gradient(transparent 25.0000%, #EEEEEE 0%, #EEEEEE 75.0000%, transparent 0%) !important;
    background-size: 100% 52.0000rpx;
    position: relative !important;
}

.sk-text-31-9444-748 {
    background-image: linear-gradient(transparent 31.9444%, #EEEEEE 0%, #EEEEEE 68.0556%, transparent 0%) !important;
    background-size: 100% 72.0000rpx;
    position: relative !important;
}

.sk-text-31-9444-541 {
    background-image: linear-gradient(transparent 31.9444%, #EEEEEE 0%, #EEEEEE 68.0556%, transparent 0%) !important;
    background-size: 100% 72.0000rpx;
    position: relative !important;
}

.sk-button {
    color: #EFEFEF !important;
    background: #EFEFEF !important;
    border: none !important;
    box-shadow: none !important;
}

/* #ifdef H5 || APP-PLUS */
.sk-image {
    width: 100%;
    height: 100%;
    background: #EFEFEF !important;
}

/* #endif */

/* #ifdef MP-WEIXIN */
.sk-image {
    background: #EFEFEF !important;
}

/* #endif */


.sk-pseudo::before,
.sk-pseudo::after {
    background: #EFEFEF !important;
    background-image: none !important;
    color: transparent !important;
    border-color: transparent !important;
}

.sk-pseudo-rect::before,
.sk-pseudo-rect::after {
    border-radius: 0 !important;
}

.sk-pseudo-circle::before,
.sk-pseudo-circle::after {
    border-radius: 50% !important;
}

.sk-container {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    background-color: transparent;
}
</style>